#ifndef MANAGER_H
#define MANAGER_H

#include <QWidget>
#include "addquestion.h"
#include "updateque.h"
#include "deleteque.h"
namespace Ui {
class manager;
}

class manager : public QWidget
{
    Q_OBJECT

public:
    explicit manager(QWidget *parent = nullptr);
    ~manager();

signals:
    void back();

private slots:
    void on_pushButton_back_clicked();

    void on_pushButton_add_clicked();
    void add_exit();

    void on_pushButton_update_clicked();
    void upd_exit();

    void on_pushButton_delete_clicked();
    void del_exit();

private:
    Ui::manager *ui;
    addquestion *add;
    Updateque *upd;
    Deleteque *del;
};

#endif // MANAGER_H
